package com.cedarhd.brzx.dto.request;

import com.cedarhd.brzx.domain.annotation.NotEmptyXs;
import com.cedarhd.brzx.domain.annotation.PhoneXs;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



/**
 * @author Evan
 * @date 2018/5/3
 */
@Data
public class ChangeBindPhoneDTO {
    @ApiModelProperty(value = "商户用户标识",required = true)
    @NotEmptyXs(message = "bizUserId不能为空")
    private String bizUserId;

    @ApiModelProperty(value = "旧手机号码",required = true)
    @PhoneXs(message = "oldPhone格式不正确")
    private String oldPhone;

    @ApiModelProperty(value = "新手机号码",required = true)
    @PhoneXs(message = "newPhone格式不正确")
    private String newPhone;

    @ApiModelProperty(value = "短信验证码",required = true)
    @NotEmptyXs(message = "newVerificationCode不能为空")
    private String newVerificationCode;


}
